package com.example.demo;

import java.util.Arrays;

public class Object2StringArray {

	public static void main(String[] args) {
		Object[] obj = new String[] { "a", "b", "c" };
		String[] stringArray = Arrays.stream(obj).toArray(String[]::new);
		for(String s : stringArray) {
			System.out.println(s);
		}
	}
}
